package com.spy.material.domain;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.spy.common.annotation.Excel;
import com.spy.common.core.domain.BaseEntity;

/**
 * 出库管理对象 outbound_order
 *
 * @author twc
 * @date 2025-11-09
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("出库管理实体")
public class OutboundOrder extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @ApiModelProperty("主键ID")
    private Long id;

    /**
     * 出库单号
     */
    @Excel(name = "出库单号")
    @ApiModelProperty("出库单号")
    private String outboundOrderNumber;

    /**
     * 出库单标题
     */
    @Excel(name = "出库单标题")
    @ApiModelProperty("出库单标题")
    private String title;

    /**
     * 配送点
     */
    @Excel(name = "配送点")
    @ApiModelProperty("配送点")
    private String fullName;

    /**
     * 出库类型
     */
    @Excel(name = "出库类型")
    @ApiModelProperty("出库类型")
    private String outboundType;

    /**
     * 出库人
     */
    @Excel(name = "出库人")
    @ApiModelProperty("出库人")
    private String outboundPerson;

    /**
     * 出库日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "出库日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("出库日期")
    private LocalDateTime outboundDate;

    /**
     * 出库总数量
     */
    @Excel(name = "出库总数量")
    @ApiModelProperty("出库总数量")
    private Integer totalOutboundQuantity;

    /**
     * 出库总金额
     */
    @Excel(name = "出库总金额")
    @ApiModelProperty("出库总金额")
    private BigDecimal totalAmount;

}